-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create how to build a model page #777
Conversation
|
fdaa7df
to
b32ca9c
Compare
Following up a chat with @harshula, he will provide a draft content for the page that will then be reviewed and formatted to match Hive Docs guidelines. |
b32ca9c
to
3fc426f
Compare
2024/09/19: Moved to the new PR: #789 (comment) |
Hi @harshula, What you wrote looks pretty good. I have a few comments on what you wrote and more in general on what I think the new content on model builds should include in the Hive Docs:
Has anything like this been discussed in the release team? |
Hi @atteggiani , The Spack instances in |
Ok, sorry the misunderstanding might come from my very poor knowledge of how
In that case it makes sense, but isn't the first repo the |
Hi @atteggiani , The Spack instances in vk83 on Gadi writes files to a directory (defined in spack-config) that is not writeable by users. Having said that, it is entirely possible for us create another Spack instance that can be used by users that want to build models. I already modified spack-config's spack-enable.bash script to allow such a scenario. |
Hi @atteggiani , Thanks for the chat. At the moment, I can see a way where we can reduce the git cloning to only |
Hi @atteggiani , I remembered last night that files related to an environment are stored in
I'll see if there's a recommended way to move it outside of |
Hi @harshula, thank you for the chat. Ideal user experienceWhat most users (that need to build a model) would like to doMost users that require a new model build, will do it because they need to change something in the source code of one or more model components (e.g.: they developed a new convection scheme for the UM, they want to use a custom version of CABLE (embedded in UM), they have changed some physics in MOM, etc.). Ideal workflow to meet user's needsMy preferred workflow for a user to produce a custom build of an ACCESS-NRI released model is listed below. Workflow for the first time
Workflow for the following times
For the actual build step, due to my lack of knowledge about SummaryThe general concept is that the user should be able to build a new executable only by loading the What are your thoughts on this workflow? |
Hi @atteggiani , It looks like spack/spack#11871 is a blocker for what you want. |
Hi @atteggiani , Maybe there is a way, I found:
|
Yes I see. What do you think the best approach is? |
Modified readme
0667d95
to
1dba805
Compare
…p spack. Linked the 'how to build' page to the respective "How to run ..." pages.
Hi @atteggiani , Can we please have the same preamble as the set-up Spack doc?
|
I added the "danger" admonition, but I don't think we should copy all that text. |
a5b5c5c
to
34af42a
Compare
Superseeded by #821 |
Fixes #743
Draft of the page for feedback on the use of the tabs above.